package com.finna.user.mapper;

import com.finna.user.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserInfoMapper {
    
    int insert(UserInfo userInfo);
    
    int updateById(UserInfo userInfo);
    
    int deleteById(@Param("userId") Long userId);
    
    UserInfo selectById(@Param("userId") Long userId);
    
    List<UserInfo> selectList();
}